

function dirlistHandler(req,res)
{
	var fileUtilModule = require("../com.attilax/io/fileUtil.js");
	
	path="C:\\0workspace\\atiplat_eeJS\\testpic";
 	//path="";
	 console.log("--path:"+path);
	var list= fileUtilModule.getFileListV2(path);
	for(e of list)
	{
		e.path_webmode=e.path.replace(global.webroot+"\\","");

		}
	
   rzt=  JSON.stringify(list)
    console.log("--rzt:"+rzt);
	 res.send(rzt);
 //   res.send('Hello world');
	
}
try{
    exports.dirlistHandler = dirlistHandler;

    

}catch(e)
{
console.log(e)
}